home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7743 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  774 b 

  1. Path: email.eag.unisysgsg.com!not-for-mail
  2. From: ssadra@maltese.eag.unisysgsg.com (Daniel R. Ascheman)
  3. Newsgroups: comp.lang.c
  4. Subject: using pipe() and dup2??????
  5. Date: 28 Feb 1996 10:56:07 -0600
  6. Organization: Loral Defense Systems-Eagan, Eagan, MN  USA
  7. Message-ID: <4h21f7$osc@maltese.eag.unisysgsg.com>
  8. NNTP-Posting-Host: maltese.eag.unisysgsg.com
  9. X-Newsreader: TIN [version 1.2 PL0]
  10.  
  11. I am writing a program that uses grep to search for a password
  12. to cross reference......I have only heard about pipe() being used
  13. to manipulate to output of grep to a char buf[256] in my code instead
  14. of out putting greps output to STDOUT i.e. a file in my dir.
  15.  
  16. Any help on HOW to use pipe() with grep and dup2 would be great.
  17. thanx.
  18.  
  19. Dan ascheman  <ssadra@maltese.eag.unisysgsg.com>
  20.  
  21.  
  22.  
  23.